package com.java.advance.aop;

/**
 * 用于测试CGLIB动态代理
 * Created by yangminghua on 2019/4/4.
 */
public class OrderDao {

    /**
     * 取消订单
     */
    public void cancel() {
        //int i =1/0; 用于测试异常通知
        System.out.println("取消订单");
    }
}
